﻿using System;
using System.Reflection;
using System.Windows.Forms;

namespace BasicDemo
{
    static class Program
    {
        [STAThread]
        static void Main()
        {
            try
            {
                Assembly.Load("AwesomiumDotNet");
            }
            catch (Exception e)
            {
                MessageBox.Show("AwesomiumDotNet could not be loaded.\n" +
                    "Make sure you have copied the necessary files " +
                    "from the Awesomium SDK.\n\n" +
                    "Details:\n" + e.ToString(), "Error!");
                return;
            }

            new BasicDemo();
        }
    }
}
